package com.glamour.hlcity.web.action;

import java.io.File;
import java.util.Iterator;
import java.util.List;


import org.apache.commons.fileupload.FileItem;
import org.apache.commons.fileupload.FileItemFactory;
import org.apache.commons.fileupload.FileUpload;
import org.apache.commons.fileupload.servlet.ServletFileUpload;
import org.apache.struts2.ServletActionContext;

import com.glamour.hlcity.dal.dao.DictEntryDao;

public class TestAction {
	
	private File file;//获取上传文件  
    private String fileFileName;//获取上传文件名称  
    private String fileContentType;//获取上传文件类型  

	public File getFile() {
		return file;
	}

	public void setFile(File file) {
		this.file = file;
	}

	public String getFileFileName() {
		return fileFileName;
	}

	public void setFileFileName(String fileFileName) {
		this.fileFileName = fileFileName;
	}

	public String getFileContentType() {
		return fileContentType;
	}

	public void setFileContentType(String fileContentType) {
		this.fileContentType = fileContentType;
	}

	public String testLogin() throws Exception{
		
	
		return "success";
//		System.out.println(str);
//		System.out.println(dictEntryDao);
//		return "success";
	}

}
